package ${package.Mapper};

import ${package.Entity}.${entity};
import ${superMapperClassPackage};

<#list importPackages as pkg>
    import ${pkg};
</#list>
<#if mapperAnnotationClass??>
    import ${mapperAnnotationClass.name};
</#if>

/**
* Mapper --> ${table.comment!}
*
* @author ${author}
* @date ${date}
*/
@Repository
<#if mapperAnnotationClass??>
    @${mapperAnnotationClass.simpleName}
</#if>
<#if kotlin>
    interface ${table.mapperName} : ${superMapperClass}<${entity}> {
<#else>
    public interface ${table.mapperName} extends ${superMapperClass}<${entity}> {
</#if>

<#list mapperMethodList as m>
    /**
    * generate by ${m.indexName}
    *
    <#list m.tableFieldList as f>
        * @param ${f.propertyName} ${f.comment}
    </#list>
    */
    ${m.method}
</#list>
}

